package com.bargate.domain.spring.expression.value;

import org.springframework.beans.factory.annotation.Value;

import java.util.Date;


/**
 * Created by IntelliJ IDEA.
 * User: EAD-MASTER
 * Date: 26/09/2010
 * Time: 15:49:51
 * To change this template use File | Settings | File Templates.
 */
public class SystemEnvPropsDateParseOperations {


    @Value("#{'25/12/2010'}")
    private Date dbUpdateDate;
    @Value("#{'2010/12/10 16:35:15'}")
    private Date dbInsertDate;

    @Value("#{HurricaneKatrina.getOccurred()}")
    private Date dbKatrinaDate;

    @Value("#{systemProperties[WorkPlace]}")
    private String whereWeWork;

    @Value("#{systemEnvironment[Path]}")
    private String windowsPath;

    @Value("#{systemEnvironment[COMPUTERNAME]}")
    private String computerName;

    public String getWhereWeWork() {
        return whereWeWork;
    }

    public Date getDbKatrinaDate() {
        return dbKatrinaDate;
    }

    public String getComputerName() {
        return computerName;
    }

    public String getWindowsPath() {
        return windowsPath;
    }

    public Date getDbInsertDate() {
        return dbInsertDate;
    }

    public Date getDbUpdateDate() {
        return dbUpdateDate;
    }
}
